package com.atguigu.day12.Test05;

public class User {
    private int id;
    private String userType;

    public User() {
    }

    public User(int id, String userType) {
        this.id = id;
        this.userType = userType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userType='" + userType + '\'' +
                '}';
    }
}
